﻿using MediatR;
using SheepCultivation.Common.Dto;

namespace SheepCultivation.API.AddliCation.BreedingD
{
    public class SheepWeighedSeachCommon : IRequest<Result>
    {
        /// <summary>
        /// 开始称重日期
        /// </summary>
        public string? begDate { get; set; }
        /// <summary>
        /// 结束称重日期
        /// </summary>
        public string? endDate { get; set; }
        /// <summary>
        /// 羊只耳号
        /// </summary>
        public string? auricle { get; set; }
        /// <summary>
        /// 称重类型 1-断奶重 2-月龄重 3-出生重
        /// </summary>
        public int sheepWeighedType { get; set; }
        /// <summary>
        /// 品种Id（品种表 Sheepvariety）
        /// </summary>
        public int sheepvarietyId { get; set; }
        /// <summary>
        /// 性别
        /// </summary>
        public int sexs { get; set; }
        /// <summary>
        /// 最小称重月龄
        /// </summary>
        public int startMonthAge { get; set; }
        /// <summary>
        /// 最大称重月龄
        /// </summary>
        public int endMonthAge { get; set; }

        public int pageIndex { get; set; }
        public int pageSize { get; set; }
    }
}
